//完整引入element-plus资源
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'

import { createApp } from 'vue'
import  pinia from './stores'

import App from './App.vue'
import router from './router'

//初始化esri的apikey
import esriConfig from '@arcgis/core/config.js'
esriConfig.apiKey =
  'AAPTxy8BH1VEsoebNVZXo8HurK4E0Cn_FBZBL4yLgfUThz3bSmc55aEMemWFPCaH1giPG8KeA4dD6VZRNuSKuCUNyrW8CYvA7gk48iiblWRhgLDTpOfaMfReIHZFafydleqDyyMpjhkhUtu94D5yCwJMO5ayx6ru2ZO_3UxT2hM153rDojTV60b7pGssSdo_7tyfzj35EDmK5v3YTppRBQaXk3KKh3zfY2RCLz-Tt2yGOyGz3jSZN7vx7eIO1KqVE3JzAT1_TbIHezzI'
//初始化esri语言
import * as intl from '@arcgis/core/intl.js'
intl.setLocale('zh-CN')

const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
